<?php
$id = @$_GET['id'];
$box_title= "Add Emails";
$box_contents = "";

$box_contents .= "<form action=\"index.php?m=emails&a=dosql&id=$id\" method=\"post\">";
$box_contents .= "<table border=\"0\" cellpadding=\"2\" cellspacing=\"2\">";
$box_contents .= "<tr><td>Emails: </td><td><textarea name=\"emails\" id=\"emailImport\" cols=\"65\" rows=\"6\"></textarea>";
$box_contents .= '<a href="#" onclick="showPlaxoABChooser(\'emailImport\', \''.$site['path'].'plaxo.html\'); return false"><img src="http://www.plaxo.com/images/abc/buttons/add_button.gif" alt="Add from my address book" border="0" /></a>';
$box_contents .= "</td></tr>";
$box_contents .= "<tr><td>Subject: </td><td><input type=\"text\" name=\"subject\" size=\"45\"></td></tr>";
$box_contents .= "<tr><td>Message: </td><td><textarea name=\"message\" class=\"ckeditor\" cols=\"65\" rows=\"12\"></textarea></td></tr>";
$box_contents .= "<tr><td> </td><td><input type=\"checkbox\" value=\"1\" name=\"sendNow\"> send now (these emails will be sent immediately)</td></tr>";
$box_contents .= "<tr><td><input type=\"submit\" value=\"Send Emails\"></td></tr>";
$box_contents .= "</table>";
$box_contents .= "</form>";
?>